<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

   
<%
   Integer x1 = (Integer)request.getSession().getAttribute("ParamLandien");
   Integer x2 = (Integer)request.getSession().getAttribute("ParamSalaire");
   Integer x3 = (Integer)request.getSession().getAttribute("ParamGlob");
   Integer x4 = (Integer)request.getSession().getAttribute("ParamLudo");
   Integer x5 = (Integer)request.getSession().getAttribute("ParamImmigration");
%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Groland Game</title>
    </head>
    <body>
   
    
        
    <CENTER><IMG src="./Images/banniere.jpg"></CENTER> 
    
    <BR><BR><BR><BR><BR><BR>
    
    
    <CENTER>
    <TABLE BORDER=0>
        
    <TR>
	<TD>
            <form action="aiguilleurInit" method="POST">
                <input type=hidden name="destination" value="configLocal" />
                <input type=image name="local" src="./Images/local.jpg"  /> 
            </form>   
        </TD>
            
	<TD>
             <form action="aiguilleurInit" method="POST">
                <input type=hidden name="destination" value="configCS" />
                <input type=image name="cs" src="./Images/clientserveur.jpg"  /> 
            </form>  
	</TD>
    </TR>
    
    </TABLE>
    </CENTER>
    
    
    <CENTER>
     <h1>Configuration du land</h1>
    <form name="LandInitForm" action="aiguilleurInit" method="POST">
        <input type=hidden name="destination" value="configVersIndex" />
        Nombre de landien : <input type="text" name="landien" value="<%= x1 %>" />
        <br>
        Salaire min autorisé : <input type="text" name="salaire" value="<%= x2 %>" />
        <br>
        Nombre maximum d'entreprise Glob : <input type="text" name="glob" value="<%= x3 %>" />
        <br>
        Nombre maximum d'entreprise Ludo : <input type="text" name="ludo" value="<%= x4 %>" />
        <br>
        Nombre maximum d'immigration par bip : <input type="text" name="immigration" value="<%= x5 %>" />
        <br>
        <input type="submit" value="Retour" name="retour" />
    </form>
     </CENTER>
    
    
    </body>
</html>
